package com.authine.cloudpivot.ext.dto;


import com.authine.mvp.app.launcher.domain.SelectorFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "MessageDto")
public class MessageDto {
    @Schema(description ="ID")
    private String id;
    @Schema(description ="ID集合")
    private List<String> ids;
    @Schema(description = "是否删除")
    private Boolean deleted;
    @Schema(description = "是否已读")
    private Boolean read;
    @Schema(description = "类型")
    private String type;
    @Schema(description = "内容")
    private String content;
    @Schema(description = "接收人ID")
    private SelectorFormat receiverId;
    @Schema(description = "接收人名称")
    private String receiver;
    @Schema(description = "接收人名称集合")
    private List<String> receivers;
    @Schema(description = "发送人ID")
    private String senderId;
}
